#pragma once

#include <bofcl_btimer_r.h>

typedef struct {
	u32_s MSIP : 1;
} btimer_msip_s;

static inline void btimer_wreg_msip_s_by_q(u32_s btimer_q, btimer_msip_s msip) {
	union {
		btimer_msip_s m;
		u32_s u;
	} mu = {
		.m = msip,
	};
	btimer_wreg_by_q(btimer_q, BTIMER_MSIP_R, mu.u);
}
